using Eno.Domain.Entity.App;

namespace Eno.Domain.Repositories;

public interface IDepartmentRepository<T>
{
    Task<IEnumerable<AppDepartment>> GetAppDepartmentsAsync();

    Task<dynamic> GetAppDepartmentByIdAsync(Guid DepartmentId);

    Task<dynamic> DeleteDepartmentAsync(Guid DepartmentId);

    Task<dynamic> UpdateDepartmentAsync(T entity);

    Task<dynamic> AdditionDepartmentAsync(T entity);
}